Mint\MRM\Admin\API\Controllers\ContactController D

Total Complexity 245
Dependencies 16
Dependents 2
Total lines 1,294
Lines of code 810
Logical lines of code 472
Comment lines 314
Methods 27
Properties 1

Methods 27

Method Rating Maintainability Complexity Lines of code
import_contacts_mailchimp()
D
28
36 127
import_contacts_native_edd()
D
32 31 93
import_contacts_native_wc()
C
32 30 93
create_or_update()
B
38 22 62
get_single()
A
41 15 48
get_filtered_contacts()
A
44 12 42
get_all()
A
41 11 55
remove_groups_from_multiple_contacts()
A
50 13 25
set_groups()
A
50 12 27
set_groups_to_multiple()
A
53 12 21
get_contact_status()
S
60 8 11
change_status_to_multiple_contacts()
S
54 7 20
send_double_optin_to_multiple_contacts()
S
55 6 18
get_custom_fields()
S
63 4 10
send_double_opt_in()
S
61 3 11
get_native_wc_customers()
S
48 1 36
get_merged_columns()
S
64 3 9
save_contact_columns()
S
63 3 9
update_contact_avatar()
S
62 3 10
get_default_columns()
S
55 1 24
get_columns()
S
58 1 16
get_stored_columns()
S
66 2 8
delete_groups()
S
67 2 7
delete_all()
S
65 2 8
delete_single()
S
65 2 8
get_contact_groups_count()
S
64 2 9
get_total_count()
S
80 1 3